using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using Ent.Web;
using Ent.Voice.Show;

public partial class Controls_Common_Invite : Ent.Web.WebControl.UserControl
{
    private Settings _pop;
    protected void Page_Load(object sender, EventArgs e)
    {
        lblHeader.Text = ResourceHelper.Get("MSG_TypeEmail");
        PopuplateControls();
    }
    public void PopuplateControls()
    {
        _pop = new Settings(Server.MapPath("Data/Settings.xml"));
    }
    public override void SetEvents() { }
    public override void AddJavascript() { }
    public override void Init()
    {
        foreach (string key in Values.Keys)
        {
            //string noIdkey = key.Replace(ID + "_", ""); 
            switch (key)
            {
                case EventProperty.Invitees:
                    txtEmails.Text = Values[key].ToString();
                    break;
                default:
                    break;
            }
        }
        lblHeader.Text = ResourceHelper.Get(Parameters["MessageKey"]);
    }
    public override void Dispose()
    {
        //throw new Exception("The method or operation is not implemented.");
    }
    public override Dictionary<string, object> GetValues()
    {
        Dictionary<string, object> retValue = new Dictionary<string, object>();
        retValue.Add(EventProperty.Invitees, txtEmails.Text);
        return retValue;
    }
}
